Clauset 1 Shortest Paths with Weights

نویسنده

  • Aaron Clauset
چکیده

Recall that BFS is a special case the general Search-Tree(G,s) algorithm in which we store the vertices that border our growing tree T in a first-in-first-out (FIFO) queue. In this way, the algorithm explores every vertex of distance ` from the source vertex s before we explore any vertex of distance ` + 1, for all `. Its output is a tree T that contains the union of “geodesic” or shortest paths from some source vertex s to all other vertices V − s. However, distances for BFS are only defined in terms of the number of edges, and thus the algorithm is only applicable to undirected and unweighted graphs (but, it is still correct for multigraphs and graphs with self-loops; do you see why?). But, not all graphs are so simple. In particular, many graphs of interest are weighted and this complicates the discovery of short paths.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Open Shortest Path First Weight Setting (OSPFWS) solving algorithms comparison and new method for updating weights

Open shortest path first is the most commonly used intera-domain routing protocol. It selects the paths which traffic is routed within autonomous systems. OSPF calculates routes as follow. Each link is assigned weights by operator. Each node within the autonomous system computes shortest paths and creates destination tables to route data to next node along the path to its destination. Shortest ...

متن کامل

On the Representability of Arbitrary Path Sets as Shortest Paths: Theory, Algorithms, and Complexity

The question, whether an optional set of routes can be represented as shortest paths, and if yes, then how, has been a rather scarcely investigated problem up until now. In turn, an algorithm that, given an arbitrary set of traffic engineered paths, can efficiently compute OSPF link weights as to map the given paths to shortest paths may be of huge importance in today’s IP networks, which still...

متن کامل

On the Inverse Shortest Paths Problem

In this paper we survey a variant of the inverse shortest paths problem. Given is a network in which certain node-pairs require connections over specific predefined single paths. The aim is to find link weights such that the desired paths are uniquely induced by a shortest-path algorithm. Further we require that the link weights fit existing shortest-path based routing protocols. We give a moti...

متن کامل

All - Pairs Shortest Paths in O ( n 2 ) Time with High Probability

We present an all-pairs shortest path algorithm whose running time on a complete directed graph on n vertices whose edge weights are chosen independently and uniformly at random from [0, 1] is O(n2), in expectation and with high probability. This resolves a long-standing open problem. The algorithm is a variant of the dynamic all-pairs shortest paths algorithm of Demetrescu and Italiano [2006]....

متن کامل

Labeled Shortest Paths

This paper gives a shortest path algorithm for CFG (context free grammar) labeled and weighted digraphs where edge weights may be positive or negative, but negative-weight cycles are not allowed in the underlying unlabled graph. These results build directly on an algorithm of Barrett, Jacob, and Marathe [1]. In addition to many other results, they gave a shortest path algorithm for CFG labeled ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014